package com.woniuxy.service.impl;

import com.woniuxy.entity.Districts;
import com.woniuxy.mapper.DistrictsMapper;
import com.woniuxy.service.DistrictsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;
@Service
public class DistrictsServiceImpl implements DistrictsService {
    @Resource
    private DistrictsMapper districtsMapper;
    @Override
    public List<Districts> queryDistricts(Integer CityId) {
        return districtsMapper.queryDistricts(CityId);
    }
}
